package com.jixiang.tracedata.model.flight;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

import java.io.Serializable;

/**
 * @author quanbiao
 * @date 2018-08-30
 * 代码共享信息
 */
@XStreamAlias("CodeShare")
public class CodeShare implements Serializable {

    private static final long serialVersionUID = 8111732674577106481L;

    /**
     * 市场方航空公司
     */
    @XStreamAsAttribute()
    private String MarketCarrier;

    /**
     * 市场方航班号
     */
    @XStreamAsAttribute()
    private String MarketFlight;

    /**
     * 航班后缀，可为控制或字母
     */
    @XStreamAsAttribute()
    private String Suffix;


    public String getMarketCarrier() {
        return MarketCarrier;
    }

    public void setMarketCarrier(String marketCarrier) {
        MarketCarrier = marketCarrier;
    }

    public String getMarketFlight() {
        return MarketFlight;
    }

    public void setMarketFlight(String marketFlight) {
        MarketFlight = marketFlight;
    }

    public String getSuffix() {
        return Suffix;
    }

    public void setSuffix(String suffix) {
        Suffix = suffix;
    }

    @Override
    public String toString() {
        return "{MarketCarrier:" + MarketCarrier + ",MarketFlight:" + MarketFlight + ",Suffix:" + Suffix + "}";
    }
}
